<template>
  <div>
    <h1>我是用户详细信息</h1>
    <router-link to="/index">
        <span @click="bybe" class="bybe">退出登录</span> 
    </router-link>
    
  </div>
</template>
<script>
  export default {
    data(){
        return{
            show:true
        }
    },
    methods: {
      bybe() {
        localStorage.removeItem('userid')
        localStorage.removeItem('userrss')
      }
    }
  }

</script>
<style scoped>
.bybe{
    color: orange;
    font-weight: bold;
}

</style>
